package com.micro.school.order.housingfee.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.micro.school.order.housingfee.domain.StudentHousingFee;
import com.micro.school.order.housingfee.mapper.StudentHousingFeeMapper;
import com.micro.school.order.housingfee.service.IStudentHousingFeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 *查询住宿费
 */
@Service
public class StudentHousingFeeImpl implements IStudentHousingFeeService
{
    @Autowired
    private StudentHousingFeeMapper feeMapper;

    @Override
    @DS("housingfee")
    public List<StudentHousingFee> queryByIdNumber(String idNumber){
        return feeMapper.queryByIdNumber(idNumber);
    }
}
